diff options
author | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-30 23:19:51 +0200 |
commit | d0c71b1a8497a3047f630cd1926f803a5190d7aa (patch) | |
tree | f52a76a1160e768de4519e31548a5d1cb1c29c6f /tests/cassettes/test_status_post[None-direct].yaml | |
parent | 8b06b53ed50e41411857181e4881e54823ed661b (diff) | |
download | mastodon.py-d0c71b1a8497a3047f630cd1926f803a5190d7aa.tar.gz |
Fresh set of tests pre-release
Diffstat (limited to 'tests/cassettes/test_status_post[None-direct].yaml')
-rw-r--r-- | tests/cassettes/test_status_post[None-direct].yaml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/cassettes/test_status_post[None-direct].yaml b/tests/cassettes/test_status_post[None-direct].yaml index eb3fe25..1b041e8 100644 --- a/tests/cassettes/test_status_post[None-direct].yaml +++ b/tests/cassettes/test_status_post[None-direct].yaml | |||
@@ -12,14 +12,14 @@ interactions: | |||
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/statuses | 13 | uri: http://localhost:3000/api/v1/statuses |
14 | response: | 14 | response: |
15 | body: {string: '{"id":"100369509914022733","created_at":"2018-07-13T21:26:20.124Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369509914022733","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369509914022733","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"100465732041120696","created_at":"2018-07-30T21:16:53.254Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465732041120696","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465732041120696","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py |
16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
17 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI | 17 | Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI |
18 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":57,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 18 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":113,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
19 | headers: | 19 | headers: |
20 | Cache-Control: ['max-age=0, private, must-revalidate'] | 20 | Cache-Control: ['max-age=0, private, must-revalidate'] |
21 | Content-Type: [application/json; charset=utf-8] | 21 | Content-Type: [application/json; charset=utf-8] |
22 | ETag: [W/"75f2a51ca3bd5003d433c7b861d4a066"] | 22 | ETag: [W/"1876f490f1aa1d3a3551b465d93472ef"] |
23 | Referrer-Policy: [strict-origin-when-cross-origin] | 23 | Referrer-Policy: [strict-origin-when-cross-origin] |
24 | Transfer-Encoding: [chunked] | 24 | Transfer-Encoding: [chunked] |
25 | Vary: ['Accept-Encoding, Origin'] | 25 | Vary: ['Accept-Encoding, Origin'] |
@@ -27,10 +27,10 @@ interactions: | |||
27 | X-Download-Options: [noopen] | 27 | X-Download-Options: [noopen] |
28 | X-Frame-Options: [SAMEORIGIN] | 28 | X-Frame-Options: [SAMEORIGIN] |
29 | X-Permitted-Cross-Domain-Policies: [none] | 29 | X-Permitted-Cross-Domain-Policies: [none] |
30 | X-Request-Id: [efeeb38a-2978-4998-a084-480a069a3135] | 30 | X-Request-Id: [2a409a20-0285-4739-af10-9878354c7fde] |
31 | X-Runtime: ['0.203256'] | 31 | X-Runtime: ['0.192309'] |
32 | X-XSS-Protection: [1; mode=block] | 32 | X-XSS-Protection: [1; mode=block] |
33 | content-length: ['1494'] | 33 | content-length: ['1495'] |
34 | status: {code: 200, message: OK} | 34 | status: {code: 200, message: OK} |
35 | - request: | 35 | - request: |
36 | body: null | 36 | body: null |
@@ -42,13 +42,13 @@ interactions: | |||
42 | Content-Length: ['0'] | 42 | Content-Length: ['0'] |
43 | User-Agent: [python-requests/2.18.4] | 43 | User-Agent: [python-requests/2.18.4] |
44 | method: DELETE | 44 | method: DELETE |
45 | uri: http://localhost:3000/api/v1/statuses/100369509914022733 | 45 | uri: http://localhost:3000/api/v1/statuses/100465732041120696 |
46 | response: | 46 | response: |
47 | body: {string: '{}'} | 47 | body: {string: '{}'} |
48 | headers: | 48 | headers: |
49 | Cache-Control: ['max-age=0, private, must-revalidate'] | 49 | Cache-Control: ['max-age=0, private, must-revalidate'] |
50 | Content-Type: [application/json; charset=utf-8] | 50 | Content-Type: [application/json; charset=utf-8] |
51 | ETag: [W/"2275cef8f23fa137f82c31cabd3da635"] | 51 | ETag: [W/"1114a4a5841ecc5b33bd082de39c27ed"] |
52 | Referrer-Policy: [strict-origin-when-cross-origin] | 52 | Referrer-Policy: [strict-origin-when-cross-origin] |
53 | Transfer-Encoding: [chunked] | 53 | Transfer-Encoding: [chunked] |
54 | Vary: ['Accept-Encoding, Origin'] | 54 | Vary: ['Accept-Encoding, Origin'] |
@@ -56,8 +56,8 @@ interactions: | |||
56 | X-Download-Options: [noopen] | 56 | X-Download-Options: [noopen] |
57 | X-Frame-Options: [SAMEORIGIN] | 57 | X-Frame-Options: [SAMEORIGIN] |
58 | X-Permitted-Cross-Domain-Policies: [none] | 58 | X-Permitted-Cross-Domain-Policies: [none] |
59 | X-Request-Id: [a288dc76-462b-4716-a98c-e4008c0f44f2] | 59 | X-Request-Id: [732698ec-1658-49bf-be37-a6e50b99627a] |
60 | X-Runtime: ['0.036017'] | 60 | X-Runtime: ['0.033710'] |
61 | X-XSS-Protection: [1; mode=block] | 61 | X-XSS-Protection: [1; mode=block] |
62 | content-length: ['2'] | 62 | content-length: ['2'] |
63 | status: {code: 200, message: OK} | 63 | status: {code: 200, message: OK} |